package model;

/**
 * The class is representing the player in the game.
 * He holds information only for his money and his lives.
 * 
 * @author EvilTeam
 *
 */
public class Player {
	private int money;
	private int lives;

	public Player(int money, int lives) {
		this.setMoney(money);
		this.setLives(lives);
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		if (money >= 0)
			this.money = money;
	}

	public int getLives() {
		return lives;
	}

	public void setLives(int lives) {
		if (lives >= 0)
			this.lives = lives;
	}
}
